/********************************************************************************
 *      Copyright:  (C) 2020 YangZhengQing<2489833081@qq.com>
 *                  All rights reserved.
 *
 *       Filename:  send_pack.h
 *    Description:  This head file 
 *
 *        Version:  1.0.0(04/06/2020)
 *         Author:  YangZhengQing <2489833081@qq.com>
 *      ChangeLog:  1, Release initial version on "04/06/2020 12:54:00 PM"
 *                 
 ********************************************************************************/
#ifndef _TRANSMISSION_H_
#define _TRANSMISSION_H_

#include "type.h"

int send_pack_to_server(int sockfd,char *pack_buff,int ssize,int timeout,int retrans);
int receive_data(int fd,char *buff,int size);
int wait_timeout(int sockfd,unsigned seconds);

#endif

